package com.qzq.weibo.view;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import com.qzq.weibo.R;

public class LoadingDialog extends Dialog {

	private TextView tv_tip;

	private String tip;

	public LoadingDialog(Context context, int theme, String tip) {
		super(context, theme);
		this.tip = tip;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dialog_loading);

		tv_tip = (TextView) this.findViewById(R.id.loading_tip);
		tv_tip.setText(tip);
	}

}
